﻿using Game.Actions;
using Game.Ai;
using Game.Command;
using Game.Common;
using Game.Level;
using Game.Map;
using Game.Objects;

namespace Game.Controller.Internal
{
    class AiHandler : TurnHandler
    {
        public override void OnStartTurn(
            Vehicle vehicle, 
            IGameMapView gameMap,
            GameLevels levels,
            ActionExecutor actionExecutor,
            GameController controller,
            GameTurn gameTurn)
        {
            AiController ai = AiContollerFactory.Create(
                vehicle, gameMap, levels, actionExecutor, gameTurn);
            ai.DoTurn();
        }
        
        public override void OnClick(
            ActionExecutor actionExecutor,
            IMapFieldView mapField,
            IGameMapView gameMap,
            GameLevels levels,
            GameTurn gameTurn,
            GameCommand command)
        {
            
        }
    }
}
